tokei

Count your code, quickly.

Details
sloc

Sloc (Source Lines Of Code) is a .NET global command-line tool for counting lines of source code. It analyzes files individually, distinguishing code lines, comment lines, and blank lines, then aggregates results by programming language.

Details
cloc

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.

Details
scc

A very fast accurate code counter with complexity calculations and COCOMO estimates

Details